.bpmn-custom-palette-wrapper {
    position: relative;
    transition: .3s;

    .bpmn-custom-palette-content {
        position: absolute;
        top: 0;
        width: 130px;
        height: 100%;
        background: white;
        border-right: 1px solid #eee;
        padding: 0 8px;
        font-size: 14px;
        user-select: none;
        transition: .3s;

        .bpmn-custom-palette-title {
            height: 48px;
            line-height: 48px;
            font-weight: bolder;
            border-bottom: 1px solid #d5d5d5;
            margin-bottom: 5px;
            overflow: hidden;
            padding-left: 12px;
        }

        .bpmn-custom-palette-element {
            width: 100%;
            height: 48px;
            display: flex;
            align-items: center;
            cursor: pointer;
            padding-left: 12px;

            &:hover {
                color: #333;
                background-color: #f5f5f5;
            }

            .bpmn-custom-palette-element-icon {
                margin-right: 12px;
            }

            .bpmn-custom-palette-element-label {
                color: #333;
                max-width: calc(100% - 32px);
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }
    }

    .bpmn-custom-palette-icon {
        position: absolute;
        top: calc(50% - 16px);
        right: -16px;
        width: 16px;
        height: 32px;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0px 2px 2px 0px;
        border: solid 1px #dddddd;
        z-index: 9;
        cursor: pointer;
        color: #aaa;

        &:hover {
            color: rgba(0, 0, 0, .85);
        }
    }
}